- importObj.importCss('/stylesheets/header.css');
- importObj.importJs('/javascripts/global.min.js');
- var headerInfo = header;
- var userInfo = userInfo;
#loginContainer
  if !userInfo
    #wb_connect_btn
  else
    #userInfoContainer
      - var userWebSite = 'http://weibo.com/' + userInfo.url;
      a.userName(href='#{userWebSite}', titl='#{userInfo.name}') #{userInfo.name}
        a.userWeb(href='#{userWebSite}')
          img(src='#{userInfo.avatar}')
  p 每天都能进步，那是好事。每天都不进步，那不是坏事。每天都在退步，那是什么事啊！
if headerInfo
  header#header.uiBlackGradientBG
    nav.navContainer
      each item, i in headerInfo.nav
        - var navClass = 'nav';
        if i === headerInfo.selectedIndex
          - navClass += ' selected';
        a(class='#{navClass}', herf='#{item.href}') #{item.name} 